package com.hom;

import sun.dc.pr.PRError;

public class User {
    private long seriaVersionUID = -1;
   private Integer userID;
    private String loginName;
    private String loginPwd;

    public User() {
    }

    public User(Integer userID, String loginName, String loginPwd) {
        this.userID = userID;
        this.loginName = loginName;
        this.loginPwd = loginPwd;
    }

    public Integer getUserID() {
        return userID;
    }

    public void setUserID(Integer userID) {
        this.userID = userID;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getLoginPwd() {
        return loginPwd;
    }

    public void setLoginPwd(String loginPwd) {
        this.loginPwd = loginPwd;
    }

    @Override
    public String toString() {
        return "User{" +
                "userID=" + userID +
                ", loginName='" + loginName + '\'' +
                ", loginPwd='" + loginPwd + '\'' +
                '}';
    }
}
